<!DOCTYPE html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>老韩的Blog</title>

    <!-- Bootstrap -->
    <link href="__PUBLIC__/Home/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.PUBLC/Home/js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
      #header{
        height:200px;
        background-image:url("__PUBLIC__/images/static/201611030515.jpg");
        }     
    </style>
  </head>
  <body>
  <!-- 导航栏 -->
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <span class="navbar-brand">xx的游艇</span>
      </div>

      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
          <li class="active"><a href="{:U('/')}"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp首页</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp我的游记</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp我的活动</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp好友动态</a></li>
        </ul>
        <form class="navbar-form navbar-right" role="search" style="margin-right:4%;">
          <div class="form-group">
            <input type="text" class="form-control" placeholder="Search">
          </div>
          <button type="submit" class="btn btn-default">搜索</button>
        </form>
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp关于我</a></li>
        </ul>
      </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
  </nav>
    <!-- 头部 -->
    <div style="margin-top:50px;"></div>
        <header class="page-header">
          <div id="header" class="jumbotron masthead">
          <!-- <img src="__PUBLIC__/images/static/201611030515.jpg" class="img-responsive" alt="Responsive image"> -->
          </div>
        </header>
<style>
  .fileUpload {
  position: relative;
  overflow: hidden;
  margin: 10px;
}

.fileUpload input.upload {  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}
</style>
<div class="row" style="width:80%; margin:5px auto;">
      <!-- 左侧菜单 -->
      <div class="col-sm-3">
        <div class="sidebar-module">
          <ul class="nav nav-list">
            <li class="nav-header">功能列表</li>
            <li><a href="{:U('/Admin/Arts/artadd')}">写文章</a></li>
            <li><a href="#">设置</a></li>
            <li><a href="#">帮助</a></li>
            <li class="nav-header">列表标题</li>
            <li class="active"><a href="#">首页</a></li>
            <li><a href="#">库</a></li>
            <li><a href="#">应用</a></li>
          </ul>
        </div>
      </div>
      <!-- 右侧文章列表 -->
      <div class="col-sm-8 col-sm-offset-1">
        <h3>好友列表</h3>
        <table class="table">
        <thead>
          <tr>
            <th>
              ID
            </th>
            <th>
              用户名
            </th>
            <th>
              备注
            </th>
            <th>
              操作
            </th>
          </tr>
        </thead>
        <tbody>
          <foreach name="us" item="us">
            <tr style="border-bottom:1px solid #999;">
            <td>
              {$us[uid]}
            </td>
            <td>
              <a href="{:U('/Home/Article/artshow',array('aid'=>$us['aid']))}">{$us[username]}</a>
            </td>
            <td>
              空
            </td>
            <td>
              <a href="{:U('/Admin/Friends/friendsadd',array('uid2'=>$us['uid']))}">添加</a> | <a href="{:U('/')}">删除</a>
            </td>
            </tr>
          </foreach>
        </tbody>
      </table>
      <nav>
        <ul class="pagination">
          <li class="disabled"><a href="#">上一页</a></li>
          <li class="active"><a href="#">1</a></li>
          <li><a href="#">2</a></li>
          <li><a href="#">3</a></li>
          <li><a href="#">4</a></li>
          <li><a href="#">5</a></li>
          <li><a href="#">下一页</a></li>
        </ul>
      </nav>
    </div>
    <footer></footer>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="__PUBLIC__/Home/js/jquery.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="__PUBLIC__/Home/js/bootstrap.min.js"></script>
  </body>
</html>